Add Bundle to list of banned items#809
Add Bundle to list of banned items#809Firemoon777 wants to merge 1 commit intogarbagemule:masterfrom
Conversation
|
FYI: I also discovered that players with class I'm not a fan of banning every single "bad" item, so I decided to cancel BlockPlace events for ender chest placing in my dedicated arena world. Probably restriction of placing Ender Chest in ArenaListener will be a better solution. Let me know if it is ok and suitable fixes for upstream. |
|
Thanks for the PR! I think it's a good idea to bring the banned items up to speed, but it does seem like an almost never-ending issue with the My Items class. We could perhaps revisit the MobArena Labs experiment where server owners can customize the list of banned (or allowed?) items instead of relying on hardcoded, static values? |
Summary
Problem
MobArena removes banned items like ender pearls/chests/shulkers box to prevent bad things. But players are able to place some of banned items (ender pearls and ender chests) to bundle and use it during battle. Bundles are introduced in 1.17 and can hold up to stack of items.
Solution
Solution is simple: ban bundles :)
Action
PR is pretty simple, probably no additional complex action required.